package com.lixin.juc.singleinstance;

public class MainApplication {

    public static void main(String[] args) {
        Single instance1 = Single.INSTANCE;
        Single instance2 = Single.INSTANCE;
        System.out.println(instance1);
        System.out.println(instance2);
        System.out.println(instance1.say());
        System.out.println(instance2.say());
    }

}
